package model.GsonMapping;

import java.util.List;

import model.Case;
import model.Criterion;

public class CriterionWithCase extends Criterion  
{
	private List<Case> cases;
	
	public CriterionWithCase(Criterion crt)
	{
		super(crt.getName(), crt.getID());
		setDescription(crt.getDescription());
		setGoal(crt.getGoal());
		setReference(crt.getReference());
		setSolutionImpact(crt.getSolutionImpact());
		setWeight(crt.getWeight());
	}
	
	public List<Case> getCases() {
		return cases;
	}

	public void setCases(List<Case> cases) {
		this.cases = cases;
	}
}
